package com.securitydemo.demo.service;

import com.securitydemo.demo.po.User;
import org.springframework.security.access.annotation.Secured;

/**
 * @author hyf
 * @Title: ${file_name}
 * @Package com.securitydemo.demo.service
 * @Description: ${todo}
 * @date 2018/5/13上午10:37
 */
public interface IUserService {


    @Secured("ROLE_TELLER")
    public User getOne();
}
